package com.fpd.model.ro;

import cn.hutool.db.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
import java.util.Objects;

@Data
@ApiModel("客服申请")
public class CallRequestRecordRO extends PageRO {
    private String id;

    private Date createTime;

    private Date updateTime;

    @ApiModelProperty("申请原因")
    private String reason;

    @ApiModelProperty("申请人")
    private String userName;

    @ApiModelProperty("userId")
    private String userId;

    @ApiModelProperty("操作人")
    private String handleId;

    @ApiModelProperty("操作人")
    private String custNo;

    @ApiModelProperty("状态：(0新增，1通过，2不通过)")
    private Integer status;

    @ApiModelProperty("申请类型：(0申请客户，1申请留案)")
    private Integer applicantType;

    @ApiModelProperty("客户号")
    private String contractNumber;

    @ApiModelProperty("留案次数：(1第一次留案,2第二次留案)")
    private Integer leaveCaseCount;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("留案时间")
    private Date leaveDate;

    @ApiModelProperty("拒绝理由")
    private String reasonsRefuse;

    private String groupLeaderId;

    @ApiModelProperty("客服id集合")
    private List<String> serviceId;

    @ApiModelProperty("分配信息token")
    private String dispatchToken;

}